package main

import (
	list2 "container/list"
	"fmt"
)

func main(){
	fmt.Println("Hello world")
	fmt.Println("你好," + "周智玲")
	var age int = 10
	fmt.Println(age)
	var flag bool = age == 10
	fmt.Println(flag)
	var gender, isManager int = 1, 2
	fmt.Println(gender, isManager)
	var a int
	fmt.Println(a)
	var name string
	fmt.Println(name)
	fmt.Println(len(name))
	name = "admin"
	fmt.Println(name)
	fmt.Println(len(name))
	const cName string = "superman"
	fmt.Println(cName)
	//cName ="hahha"
	//fmt.Println(cName)
	if 1 == 1 {
		fmt.Println("yes")
	}else {
		fmt.Println("no")
	}
	userList := list2.New()
	userList.PushBack("1")
	userList.PushBack("2aaa")
	front := userList.Front()
	fmt.Println(front.Value)
	fmt.Println(front.Next().Value)
	fmt.Println(front.Next().Value)
	fmt.Println("===")
	for a = 0; a < 10; a++  {
		fmt.Println(a)
	}
	fmt.Println("=============================")
	for b := 1;b<=9 ;b++  {
		for k := 1; k<=9 ;k++  {
			if k <= b {
				fmt.Printf("%d*%d=%d\t", k, b, b*k)
			}
		}
		fmt.Println()
	}
}